package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 澳洲开奖记录管理对象 admin_lucky_record
 *
 * @author ruoyi
 * @date 2021-06-20
 */
public class AdminLuckyRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long recordId;

    /** 开奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开奖时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date prizeTime;

    /** 期数 */
    @Excel(name = "期数")
    private Long period;

    /** 开奖号码 */
    @Excel(name = "开奖号码")
    private String lotteryNumber;

    /** 奖次金额 */
    @Excel(name = "奖次金额")
    private BigDecimal jackpotPrice;

    /** 奖次剩余金额 */
    @Excel(name = "奖次剩余金额")
    private BigDecimal remainingPrice;

    /** 0:未封盘  1:标识提前封盘 2:已封盘 */
    @Excel(name = "0:未封盘  1:标识提前封盘 2:已封盘")
    private Integer sealingState;

    /** 机器人是否下过注 */
    @Excel(name = "机器人是否下过注")
    private Integer isRobot;

    /** 开奖状态 */
    @Excel(name = "开奖状态")
    private Integer state;

    public String getLotteryNumber() {
        return lotteryNumber;
    }

    public void setLotteryNumber(String lotteryNumber) {
        this.lotteryNumber = lotteryNumber;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId()
    {
        return recordId;
    }
    public void setPrizeTime(Date prizeTime)
    {
        this.prizeTime = prizeTime;
    }

    public Date getPrizeTime()
    {
        return prizeTime;
    }
    public void setPeriod(Long period)
    {
        this.period = period;
    }

    public Long getPeriod()
    {
        return period;
    }

    public void setJackpotPrice(BigDecimal jackpotPrice)
    {
        this.jackpotPrice = jackpotPrice;
    }

    public BigDecimal getJackpotPrice()
    {
        return jackpotPrice;
    }
    public void setRemainingPrice(BigDecimal remainingPrice)
    {
        this.remainingPrice = remainingPrice;
    }

    public BigDecimal getRemainingPrice()
    {
        return remainingPrice;
    }
    public void setSealingState(Integer sealingState)
    {
        this.sealingState = sealingState;
    }

    public Integer getSealingState()
    {
        return sealingState;
    }
    public void setIsRobot(Integer isRobot)
    {
        this.isRobot = isRobot;
    }

    public Integer getIsRobot()
    {
        return isRobot;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("prizeTime", getPrizeTime())
            .append("period", getPeriod())
            .append("lotteryNumber", getLotteryNumber())
            .append("jackpotPrice", getJackpotPrice())
            .append("remainingPrice", getRemainingPrice())
            .append("sealingState", getSealingState())
            .append("isRobot", getIsRobot())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
